package com.linkhub.oms.admin.modules.order.service;

import com.linkhub.oms.admin.modules.order.domain.dto.OrderFulfillmentExpenseDTO;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Description: OrderExpenseBizService
 * @Author: echo
 * @Date: 2024/6/2 10:14
 * @Version: 1.0
 */
public interface OrderExpenseBizService {

    /**
     * operatingCharge
     *
     * @param sysOrderId sysOrderId
     * @return 操作费
     */
    BigDecimal operatingCharge(String sysOrderId);


    /**
     * 解冻订单操作费、运费
     *
     * @param sysOrderId sysOrderId
     */
    void thawOrderExpense(String sysOrderId);

    /**
     * 计算vat增殖税和手续费
     * @param sysOrderId
     * @return
     */
    OrderFulfillmentExpenseDTO calculateVat(String sysOrderId);

    List<OrderFulfillmentExpenseDTO> calculateVat(List<String> sysOrderIds);
}
